From: Alejandro PiƱeiro Date: Thu, 3 May 2012 18:10:14 +0000 (+0200) Subject: a11y: Using the proper label_actor for date menu on top panel X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6614 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5436634829e997f8e6c2e3967241e587f1ce10ef;p=gnome-shell.git a11y: Using the proper label_actor for date menu on top panel On the code two labels are created. One is used on the date menu itself, and the other for the menu icon at the top panel. The wrong label was used as the label_actor for the top panel menu icon. https://bugzilla.gnome.org/show_bug.cgi?id=675307 --- diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index 47231faeb..616e45afe 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -75,7 +75,7 @@ const DateMenuButton = new Lang.Class({ // Date this._date = new St.Label(); - this.actor.label_actor = this._date; + this.actor.label_actor = this._clock; this._date.style_class = 'datemenu-date-label'; vbox.add(this._date);